<?php  

class Model{
  protected static $_instance;
  public static function getInstance(){
    if(self::$_instance==null){
      self::$_instance = new Model();
    }
    
    return self::$_instance;
  }
  
  protected function __construct(){
    $_proxyes = new array();
  }
  
  protected $_proxyes;
  
  public function registerProxy(Proxy $proxy){
    $name = $proxy->getName();
    $this->_proxyes[$name] = $proxy;
  }
  
  public function retrieveProxy(){
    
  }
}

?>